import http from "../../utils/http"
/**
 * 获取自提点订单列表
 */
export function pickpoint_list(params) {
    return http({
        url: "/pickpoint/api/order/lists",
        data: params,
        forceLogin: true
    })
}


/**
 * 获取商品清单列表
 */
export function orderGoods_list(params) {
    return http({
        url: "/pickpoint/api/order/ordergoods",
        data: params,
        forceLogin: true
    })
}



/**
 * 获取商品相关订单列表
 */
export function order_list(params) {
    return http({
        url: "/pickpoint/api/order/orderlist",
        data: params,
        forceLogin: true
    })
}



/**
 * 一键提货接口
 */
export function oneKeypickup(params) {
    return http({
        url: "/pickpoint/api/order/optionOrderComplete",
        data: params,
        forceLogin: true
    })
}


/**
 * 确定送达操作
 */
export function surePickup(params) {
    return http({
        url: "/pickpoint/api/order/orderService",
        data: params,
        forceLogin: true
    })
}


/**
 * 获取自提点列表
 */
export function getPickupList(params) {
    return http({
        url: "/pickpoint/api/pickpoint/lists",
        data: params,
        forceLogin: true
    })
}